package com.netease.yunxin.app.im

import android.app.Application
import androidx.multidex.MultiDexApplication
import com.hjq.toast.ToastUtils

/**
 * Time:2022/3/30 11:20 上午
 * Author:
 * Description:
 */
open class BaseApplication : MultiDexApplication() {
    override fun onCreate() {
        super.onCreate()
        sInstance = this
        ToastUtils.init(this)
    }

    companion object {
        lateinit var sInstance: Application
        fun app(): Application {
            return sInstance
        }
    }
}